package org.dromara.system.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.system.domain.ServiceItem;

import java.util.List;

/**
 * 服务项目业务对象 service_item
 *
 * @author Lion Li
 * @date 2025-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ServiceItem.class, reverseConvertGenerate = false)
public class ServiceItemBo extends BaseEntity {

    private Long serviceItemId;

    /**
     * 服务项目名称
     */
    @NotNull(message = "服务项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceItemName;

    @NotNull(message = "服务部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private List<Long> deptIdList;


}
